//app新用户专享红包  父组件 无实际显示路由页面
const activitiesA = resolve => {
    require.ensure(['components/activities/activities.vue'], () => {
        resolve(require('components/activities/activities.vue'));
    }, 'activities');
};

//app新用户专享红包  先领红包后下单
const appRedPacket = resolve => {
    require.ensure(['components/activities/appRedPacket.vue'], () => {
        resolve(require('components/activities/appRedPacket.vue'));
    }, 'appRedPacket');
};
//app新用户专享红包  先领红包后下单双12活动
const appRedPacket1212 = resolve => {
    require.ensure(['components/activities/appRedPacket1212.vue'], () => {
        resolve(require('components/activities/appRedPacket1212.vue'));
    }, 'appRedPacket1212');
};
// const yyhtest = resolve => {
    // require.ensure(['components/activities/yyhtest.vue'], () => {
        // resolve(require('components/activities/yyhtest.vue'));
    // }, 'yyhtest');
// };
export const activities =
    {
        path: '/vue/activities',
        components: {
            default: activitiesA,
        },
        children: [
            {
                path: 'appRedPacket',
                name:'appRedPacket',
                components:{
                    default:appRedPacket
                },
            },
            {
                path: 'appRedPacket1212',
                name:'appRedPacket1212',
                components:{
                    default:appRedPacket1212
                },
            },
            // {
                // path: 'yyhtest',
                // name:'yyhtest',
                // components:{
                    // default:yyhtest
                // },
            // },

        ],
        meta: {isPublish: true, requireAuth: false}
    };
